package com.mk.admin.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName("t_sys_menu")
public class SysMenuEntity {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty("菜单名称")
    private String name;
    @ApiModelProperty("菜单父类id")
    private Integer parentId;
    @ApiModelProperty("菜单编码")
    private String code;
    @ApiModelProperty("菜单路径，即点击跳转页面路径")
    private String path;
    @ApiModelProperty("菜单图标")
    private String icon;
    @ApiModelProperty("菜单状态 1启用 0停用")
    private Integer status;
    @ApiModelProperty("创建时间")
    private String createTime;
    private String updateTime;
    @ApiModelProperty("菜单权限")
    private String permission;
    @TableField(exist = false)
    private String orderBy;
    @TableField(exist = false)
    private Integer page;
    @TableField(exist = false)
    private Integer size;
}
